package com.ys.service.base;

import com.ys.entity.base.TbUserPaySlip;
import com.ys.vo.R;

import java.util.Map;


/**
 * 员工工资条信息表
 */
public interface TbUserPaySlipService {

	//通过员工月度绩效信息新增工资条信息
	String addByMonthPerformanceId(Long monthPerformanceId) throws Exception ;

	//删除
	R del(Long id) throws Exception ;

	//个税导入
	R importUserTax(Long id) throws Exception ;

	//年终奖导入
	R importYearEndBonus(Long id) throws Exception ;


	//保存
	R save(Map<String, Object> params, Long menuId) throws Exception ;

	//个税导入手动修改刷新
	R importUserTaxByUpdate(Long id) throws Exception ;


	TbUserPaySlip countPaySlip(TbUserPaySlip tbUserPaySlip, Map<String,Object> tbUserMonthPerformance);


	Map<String,Object> getCountInfo(Long monthPerformanceId);
}